package top.tangyh.basic.spring_mvc.vo.result.system;
import cn.hutool.core.map.MapUtil;
import lombok.*;
import lombok.experimental.Accessors;
import top.tangyh.basic.spring_mvc.base.Entity;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Map;

/**
 * <p>
 * 实体类
 * 岗位
 * </p>
 *
 * @author CJ
 * @since 2021-10-18
 */
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class BasePositionResultVO extends Entity<Long> implements Serializable {

    private static final long serialVersionUID = 1L;
    @Builder.Default
    private Map<String, Object> echoMap = MapUtil.newHashMap();

    private Long id;

    /**
     * 名称
     */
    private String name;
    /**
     * 组织;#base_org@Echo(api = EchoApi.ORG_ID_CLASS)
     */
    private Long orgId;
    /**
     * 状态;0-禁用 1-启用
     */
    private Boolean state;
    /**
     * 备注
     */
    private String remarks;

    public Map<String, Object> getEchoMap() {
        return echoMap;
    }

    public void setEchoMap(Map<String, Object> echoMap) {
        this.echoMap = echoMap;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
